package com.ll.setdemo;

import java.util.HashSet;

/**
 * @author 刘龙
 * @version 1.0
 */
public class HashSetSource {
    public static void main(String[] args) {
        HashSet hashSet = new HashSet();
        hashSet.add("java");
        hashSet.add("php");
        hashSet.add("java");

        System.out.println(hashSet);
        /**
         *     Node<K,V> newNode(int hash, K key, V value, Node<K,V> next) {
         *         return new Node<>(hash, key, value, next);
         *     }
         */

        int[] arr =  {1,2,3};
        System.out.println(arr.length);
    }
}
